package com.service;

import java.util.List;

import com.domain.Customer;


public interface ICustomerService {

	
	Integer addCustomer(String username, String pwd, Integer power);
	
	
	void delCustomer(Integer id);
	 
	 
	 void delCustomer(Customer customer);	
	 
	 
	 void updateCustomer(Customer customer);
	 
	 
	 List<Customer> listCustomer();
	 
	 
	 Customer getCustomer(Integer id);
	 
	
	 Customer getCustomer(Customer customer);
	 
	 
	public List<Customer> findUser(String key);
	 
	 
	 boolean checkCustomer(Customer customer);
}
